//调用接口配置文件
import { request } from 'config/request'
// 定义接口
export async function getHouseSaleList(params) {
    return request({
        url: 'admin/sale/list',
        method: 'POST',
        data: params
    });
};
export async function getHouseSale(param) {
    return request({
        url: 'admin/sale/detail',
        method: 'GET',
        params: param,
        headers:{
            "Content-type":"application/json",
        }
    });
};

export async function auditHouseSale(params) {
    return request({
        url: 'admin/sale/audit',
        method: 'POST',
        data: params
    });
};
